import lombok.AllArgsConstructor;
import lombok.Getter;
import wh.coach.domain.CalType;

/**
 * @author xhw
 */
@Getter
@AllArgsConstructor
public class Aggregation {
    //这是一个聚合类，包含要聚合的字段和类型
    private final String column;
    private final CalType calType;

    //获取聚合类型+字段
    public String getTitle() {
        return column + "_" + calType.name();
    }


}
